package com.rainwood.water_authority.http.response;

import com.google.gson.annotations.SerializedName;

/**
 * @author sxs
 * @date :2020/10/21
 * @desc: 首页统计信息
 */
public final class HomeStaticsBean {

    /**
     * code : 1
     * warn : success
     * data : {"sendNum":2,"checkNum":2,"backstage":"https://www.yumukeji.cn/project/railway2/control/adIndex.php?cla=login"}
     */
    @SerializedName("code")
    private int code;
    @SerializedName("warn")
    private String warn;
    @SerializedName("data")
    private DataDTO data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getWarn() {
        return warn;
    }

    public void setWarn(String warn) {
        this.warn = warn;
    }

    public DataDTO getData() {
        return data;
    }

    public void setData(DataDTO data) {
        this.data = data;
    }

    public static class DataDTO {

        /**
         * sendNum : 2
         * checkNum : 2
         * backstage : https://www.yumukeji.cn/project/railway2/control/adIndex.php?cla=login
         */
        @SerializedName("sendNum")
        private Integer sendNum;
        @SerializedName("checkNum")
        private Integer checkNum;
        @SerializedName("backstage")
        private String backstage;

        public int getSendNum() {
            return sendNum;
        }

        public void setSendNum(int sendNum) {
            this.sendNum = sendNum;
        }

        public int getCheckNum() {
            return checkNum;
        }

        public void setCheckNum(int checkNum) {
            this.checkNum = checkNum;
        }

        public String getBackstage() {
            return backstage;
        }

        public void setBackstage(String backstage) {
            this.backstage = backstage;
        }
    }
}
